package com.zzyl.nursing.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NursingTaskCancelDTO {

    private String reason; // 取消原因
    private Integer taskId; // 护理任务ID

    // Getter and Setter methods

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        return "NursingTaskCancelDTO{" +
                "reason='" + reason + '\'' +
                ", taskId=" + taskId +
                '}';
    }
}